package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;


public interface ReportService {
    // 1.统计指定时间区间内的营业额
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);
    // 2.统计指定时间区间内的营业额
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);
    // 3.统计指定时间区间内的订单
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);
    // 4.统计指定时间区间内销量前10
    SalesTop10ReportVO getSalesTop10Statistics(LocalDate begin, LocalDate end);
    // 5.导出运营数据报表
    void exportBusinessData(HttpServletResponse response);
}
